﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HerGoS.WebControlExtend.Interfaces;

namespace HerGoS.WebControlExtend
{
    [ParseChildren(true)]
    [PersistChildren(true)]
    [DefaultProperty("Text")]
    [ToolboxData("<{0}:ButtonExt runat=server  Text=Button></{0}:ButtonExt>")]
    public class ImageButtonExt : ImageButton 
    {

        protected override void OnInit(EventArgs e)
        {            
            base.OnInit(e);
        }

        public void Settings(IImageButtonExtSetting s)
        {
            s.ApplySetting(this);
        }

    }
}
